package com.jiayang.business.infraredpage.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @ Author     ：OuyangChenglong
 * @ Date       ：Created in 15:28 2021/9/15
 * @ Description：前端传递的红外点位数据
 * @ Modified By：
 * @Version: 1.0$
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PointTemperatureDTO implements Serializable {
    // 传感器id
    private String sensorId;
    // x坐标
    private String xLocation;
    // y坐标
    private String yLocation;
    // 点位温度
    private String temperature;
    // 点位状态
    private String state;
    // 点位描述 也可能是故障原因
    private String description;
    // 采集时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd'T'HH:mm:ss.SSS")
    private Date recordTime;
    // 筛选框开始时间
    private String begin;
    // 筛选框结束时间
    private String end;

}
